package com.honghu.cloud.service;

import java.util.List;
import java.util.Map;

import com.honghu.cloud.bean.GoodsSpecification;
import com.honghu.cloud.common.page.Page;

/**
 * 商品规格service
 * @author Administrator
 *
 */
public interface IGoodsSpecificationService {


	public void batchDelObjs(List<GoodsSpecification> objs);


	public GoodsSpecification getObjByProperty(String key, String operation_symbol, Object value);


	public List<GoodsSpecification> selectObjByProperty(Map<String, Object> maps);


	public List<GoodsSpecification> queryPages(Map<String, Object> params);


	public List<GoodsSpecification> queryPageListWithNoRelations(Map<String, Object> param);


	public List<GoodsSpecification> queryPagesWithNoRelations(Map<String, Object> params, Integer currentPage,
			Integer pageSize);


	public Page<GoodsSpecification> queryPagesWithNoRelations(Map<String, Object> params);


	public Page<GoodsSpecification> list(Map<String, Object> params);


	public void batchDeleteByIds(List<Long> ids);


	public void saveEntity(GoodsSpecification obj);


	public void updateById(GoodsSpecification obj);


	public void deleteById(Long id);


	public GoodsSpecification selectByPrimaryKey(Long id);


	public List<GoodsSpecification> queryPageList(Map<String, Object> params, Integer begin, Integer max);


	public List<GoodsSpecification> queryPageList(Map<String, Object> params);


	public int selectCount(Map<String, Object> params);


	public boolean save(GoodsSpecification goodsSpecification);


	public void update(GoodsSpecification goodsSpecification);


	public void delete(Long id);
	

	public void saveGoodsSpecificationGoodsClassDetail(List<Map<String, Object>> gspgcIds);
	

	public void deleteGoodsSpecificationGoodsClassDetail(List<Map<String, Object>> gsgcds);


	/**
	 * 根据商品id查询商品规格集合
	 * @param id
	 * @return
	 */
	public List<GoodsSpecification> getGoodsIdSpecification(Long goods_id);


	
}
